﻿#pragma once


#include "MaterialGraph/Node/MaterialGraphNodeModel.h"
#include "MaterialUnlitNodeModel.m.h"

//无光照着色器输出节点
//这个节点是最终的输出节点，需要输入一个颜色值 和 透明度值
RCLASS(ExtraHeader = "MaterialGraph/Pin/MaterialGraphPinModel.h")
class RMaterialUnlitNodeModel : public RMaterialGraphNodeModel
{
    ROBJECT
    
public:
    virtual void FirstTimeInitializeObject() override;

    virtual CString GenerateExpression() override;

    virtual bool IsOutputNode() const { return true; }
    virtual CString GetShaderTemplate() const;
    virtual ERenderMaterialType GetMaterialType() const { return ERenderMaterialType::Unlit; }
};